﻿using System.Reflection;

namespace Net.Share
{
    public interface IRpcMethod
    {
        /// <summary>
        /// 网络命令
        /// </summary>
        byte cmd { get; set; }
        /// <summary>
        /// 委托对象
        /// </summary>
        object target { get; set; }
        /// <summary>
        /// 委托方法
        /// </summary>
        MethodInfo method { get; set; }

        void Invoke(object[] pars);
    }
}
